//
//  alertview.h
//  PaiQuan
//
//  Created by Mac on 16/7/12.
//  Copyright © 2016年 huigu. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol Customaltviewdelete;


@protocol Customaltviewdelete <NSObject>
////默认必须实现
//-(void)showmessage;
//
////@required 必须实现
@optional///表示不必须实现
-(void)showmessage;
-(void)alertview:(id)altview clickbuttonIndex:(NSInteger)index;

@end

@interface alertview : UIView<Customaltviewdelete>
{
    
    
 
}
//初始化显示结果
-(void)altTitle:(NSString *)Title ximg:(UIImage *)imgage NameTitle:(NSString*)nameTitle addressTitle:(NSString*)addressTitle	;
//显示
-(void)show;
//隐藏
-(void)hide;
@property(nonatomic)  float  altwidth;
@property(nonatomic,retain)  UIView *view;
@property(nonatomic,weak)id<Customaltviewdelete> deleta;

@end
